<html>
<head>
<style>
blockquote {
    color: blue;
    border-left: 2px solid blue;
    margin: 0px;
    padding: 0 0 0 20px;
}
</style>
</head>

<body>
<p>This test passes if nothing is double-quoted, and "Two" and "Four" aren't quoted at all.</p>
<div contenteditable="true"><blockquote type='cite' id="block">Paste<br>Here</blockquote></div>

<script>
var sel = window.getSelection();
var block = document.getElementById("block");

sel.collapse(block, 3);
document.execCommand("InsertHTML", false, "<blockquote type='cite'>One</blockquote>Two<blockquote type='cite'>Three</blockquote>Four");
</script>
</body>
</html>
